package cn.edu.scujcc.dpl;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

import androidx.appcompat.app.AppCompatActivity;

import cn.edu.scujcc.dpl.ui.home.HomeFragment;

public class qqActivity extends AppCompatActivity {
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.qqregister);
            Button btn = findViewById(R.id.butn);
            btn.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v){
                    Intent it = new Intent();
                    it.setClass(qqActivity.this, Register.class);
                    qqActivity.this.startActivity(it);
                }
            });
            Button btnp = findViewById(R.id.butn2);
            btnp.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v){
                    Intent it = new Intent();
                    it.setClass(qqActivity.this,MainActivity.class);
                    startActivity(it);
                }
            });
//            Intent myIntent = new Intent(qqActivity.this,MainActivity.class);
        }
    }


